<?php
/*  This file is part of opinhost.
 *
 *  opinhost is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  opinhost is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with opinhost.  If not, see <http://www.gnu.org/licenses/>.
 */
include("include/config.php");
require 'libs/Smarty.class.php';
error_reporting(E_ALL);
$result = "<h2>TCP/IP Connection</h2>\n";
$smarty = new Smarty;

$smarty->compile_check = $themede;
$smarty->debugging = $themecc;

$data = "<form method='POST' action='result.php'>
		Server IP: <input type='text' name='server_ip'/><br/>
		Server Port: <input type='text' name='server_port'/><br/>
		Command: <select name='command'>
		<option value='help'>help</option>
		<option value='test'>test</option>
		<option value='listusers'>listusers</option>
		</select>
		<input type='submit' value='Send'/>
		</form>";

$smarty->assign("Content", $data);

$smarty->display($themear["index.php"]);
?>